﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreCms.Net.Model.Echat
{
    //如果好用，请收藏地址，帮忙分享。
    public class LineTitle
    {
        /// <summary>
        /// 未来一周气温变化
        /// </summary>
        public string text { get; set; }
        /// <summary>
        /// 纯属虚构
        /// </summary>
        public string subtext { get; set; }
    }

    public class LineTooltip
    {
        /// <summary>
        /// 
        /// </summary>
        public string trigger { get; set; }
    }

    public class LineLegend
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> data { get; set; }
    }

    public class LineXAxisItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool boundaryGap { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> data { get; set; }
    }

    public class AxisLabel
    {
        /// <summary>
        /// 
        /// </summary>
        public string formatter { get; set; }
    }

    public class LineYAxisItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public AxisLabel axisLabel { get; set; }
    }

    public class LineDataItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 最大值
        /// </summary>
        public string name { get; set; }
    }

    public class LineMarkPoint
    {
        /// <summary>
        /// 
        /// </summary>
        public List<LineDataItem> data { get; set; }
    }

    public class LineMarkLine
    {
        /// <summary>
        /// 
        /// </summary>
        public List<DataItem> data { get; set; }
    }

    public class LineSeriesItem
    {
        /// <summary>
        /// 最高气温
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<int> data { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public MarkPoint markPoint { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public MarkLine markLine { get; set; }
    }

    public class LineDemoModel
    {
        /// <summary>
        /// 
        /// </summary>
        public LineTitle title { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public LineTooltip tooltip { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public LineLegend legend { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool calculable { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<LineXAxisItem> xAxis { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<LineYAxisItem> yAxis { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<LineSeriesItem> series { get; set; }
    }

}
